import {Request} from "@/components/until/Request";
//获取信息所有部门
function getDepartment(url,data){
    return Request.get(url,data);

}
//添加部门
function addDepartment(url,data){
    return Request.post(url,data);  
}
//修改部门
function updateDepartment(url,data){
    return Request.post(url,data);  
}
//删除部门
function deleteDepartment(url,data){
    return Request.post(url,data);  
}
export {getDepartment,addDepartment,updateDepartment,deleteDepartment}